#include "library.h"

BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReversed) {

    if (dwReason == DLL_PROCESS_ATTACH) {

        CloseHandle(CreateThread(nullptr, 0, reinterpret_cast<LPTHREAD_START_ROUTINE> (InitializeD3D9), nullptr, 0, 0));

    }

    return TRUE;
}
